import request from "@/tool/request";

export function test() {
    return request({
        method: 'post',
        url: '/test'
    });
}

//record
export function saveData(data) {
    return request({
        method: 'post',
        url: '/record/saveData',
        data
    })
}

export function pageRecord(data) {
    return request({
        method: 'post',
        url: '/record/pageRecord',
        data
    })
}

export function getRecord(data) {
    return request({
        method: 'post',
        url: '/record/getRecord',
        data
    })
}

export function delRecord(data) {
    return request({
        method: 'post',
        url: '/record/delRecord',
        data
    })
}

//字典
export function mapDictionary(data) {
    return request({
        method: 'post',
        url: '/com/mapDictionary',
        data
    })
}